package com.zelin.controller;

import com.zelin.pojo.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * ------------------------------
 * 功能：
 * 作者：WF
 * 微信：hbxfwf13590332912
 * 创建时间：2021/11/15-9:35
 * ------------------------------
 */
@RestController
@RequestMapping("/hello")
public class HelloController {

    @GetMapping("list")
    public R list(){
        return R.ok().data("msg","大家好！");
    }
}
